package com.java2018.springmvc.book.service;

import com.java2018.springmvc.book.dao.BookMapper;
import com.java2018.springmvc.book.model.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookServiceImpl implements BookService {
    @Autowired
    private BookMapper bookMapper;

    @Override
    public List<Book> getAll() {
        return bookMapper.getAll();
    }

    @Override
    public Integer insert() {
        return null;
    }


}
